package extend;

public class Student1 extends Person1{
    public long number;
    public int math;
    public int enghlish ;
    public int computer;

    public  Student1(String n,char s,int a,long k,int m,int e,int c){
        super("wj",'女',11);
        this.number = number;
    }
    public   double aver(int n){
            return n ;
    }
    public int max(int a){
        return a;
    }
    public int min(int s){
        return s;
    }
    public String toString(String u){
      return u;
    }
    public static  void main(String[] args){
        Student1 p=new Student1("wj",'女',3,4,5,7,7);
        p.number=123;
        p.age=12;
        p.computer=1;
        p.enghlish=34;
        System.out.println(p.number+","+p.age+","+p.computer+","+p.enghlish);

        p.aver(1);
        p.max(2);
        p.min(0);
        p.toString("wj");


    }

}
